package cn.itcast.btest1.service;

import cn.itcast.btest1.mapper.UserMapper;
import cn.itcast.btest1.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
@Autowired
private UserMapper userMapper;
    public User queryById(Long id) {
        return userMapper.queryById(id);
    }
}
